//
//  DGGMobileLoginConfig.h
//  DGGMobileLoginSDK
//
//  Created by dgg_hzk on 2019/12/27.
//

#import <Foundation/Foundation.h>

/**
 * 登录协议配置Model
 */
@interface DGGAgreementListModel : NSObject

@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *webTitle;//浏览器协议标题，只针对电信运营商有效
@property (nonatomic, copy) NSString *urlString;

@end

@interface DGGMobileLoginConfig : NSObject

+ (instancetype)sharedInstance;

#pragma mark - 导航栏相关
/**
 * 登录页面标题
 */
@property (nonatomic, copy) NSString *navTitle;
/**
 * 导航栏背景颜色
 */
@property (nonatomic, strong) UIColor *navColor;
/**
 * 登录页面标题颜色
 */
@property (nonatomic, copy) UIColor *navTextColor;
/**
 * 登录页面标题字体大小
 */
@property (nonatomic, copy) UIFont *navTextFont;
/**
 * 导航栏返回按钮图片
 */
@property (nonatomic, strong) UIImage *navBackImage;
/**
 * 页面主题颜色
 */
@property (nonatomic, strong) UIColor *pageThemeColor;

#pragma mrak - LOGO
/**
 * 登录界面APP Logo
 */
@property (nonatomic, strong) UIImage *appLogoImage;
/**
 * 登录界面APP Logo屏幕顶部距离
 */
@property (nonatomic, assign) CGFloat appLogoOffsetY;

/**
 * 登录界面APP Logo宽高
 */
@property (nonatomic, assign) CGFloat appLogoWidth;

#pragma mark - 电话号码

/**
 * 电话号码 屏幕顶部距离
 */
@property (nonatomic, assign) CGFloat numberOffsetY;

/**
 * 电话号码高度
 */
@property (nonatomic, assign) CGFloat numberHeight;

/**
 * 登录界面APP Logo屏幕顶部距离
 */
@property (nonatomic, strong) UIFont *numberFont;

#pragma mark - 品牌运营商
/**
 *  品牌运营商字体
 */
@property (nonatomic, strong) UIFont *brandFont;
/**
*  品牌运营商距离屏幕高度
*/
@property (nonatomic, assign) CGFloat brandOffsetY;
/**
*  品牌运营商高度
*/
@property (nonatomic, assign) CGFloat brandHeight;
/**
*  品牌运营商字体颜色
*/
@property (nonatomic, strong) UIColor *brandColor;

#pragma mark - 复选框
/**
*  未复选框选中图片
*/
@property (nonatomic, strong) UIImage *uncheckedImg;
/**
*  复选框选中图片
*/
@property (nonatomic, strong) UIImage *checkedImg;
/**
*  复选框宽高
*/
@property (nonatomic, assign) CGFloat checkboxWH;
/**
*  复选框默认选中与否 yes选中
*/
@property (nonatomic, assign) BOOL privacyState;
/**
*  复选框是否隐藏
*/
@property (nonatomic, assign) BOOL checkedHidden;


#pragma mark - 登录按钮
/** 按钮的渐变色数组 CGColor*/
@property(nonatomic, strong) NSArray *loginButtonBgGradientColors;
/**
* 登录按钮背景颜色 CGColor
*/
@property (nonatomic, strong) UIColor *loginButtonBgColor;
/**
* 登录按钮文字颜色
*/
@property (nonatomic, strong) UIColor *loginButtonTextColor;
/**
* 登录按钮文字
*/
@property (nonatomic, strong) NSString *loginButtonText;
/**
* 登录按钮字体大小
*/
@property (nonatomic, strong) UIFont *loginButtonTextFont;
/**
* 登录按钮距离屏幕顶部距离
*/
@property (nonatomic, assign) CGFloat loginButtonOffsetY;
/**
* 登录按钮高度
*/
@property (nonatomic, assign) CGFloat loginButtonHeight;
/**
* 登录按钮圆角
*/
@property (nonatomic, assign) CGFloat logBtnRadius;
/**登录按钮可用状态下的背景图片*/
@property (nonatomic, strong) UIImage *logBtnEnableImg;

//*登录按钮高亮状态下的背景图片
@property (nonatomic, strong) UIImage *logBtnHighlightedImg;

#pragma mark - 切换登录方式
/**
* 切换账号文字
*/
@property (nonatomic, strong) NSString *switchBtnText;
@property (nonatomic, strong) UIFont *switchBtnFont;
/**
* 切换账号字体颜色
*/
@property (nonatomic, strong) UIColor *switchBtnTextColor;
/**
* 切换账号对齐方式（联通默认右对齐）
*/
@property (nonatomic, assign) NSTextAlignment switchBtnTextAlign;
/**
 *切换账号对齐方式登录方式Y偏移量（仅适配联通）
 */
@property (nonatomic,assign) CGFloat swithAccOffsetY;
/**
 *切换账号对齐方式登录方式X偏移量（仅适配联通）
 */
@property (nonatomic,assign) CGFloat swithAccOffsetX;

#pragma mark - 协议
/**
* 协议高亮颜色
*/
@property (nonatomic, strong) UIColor *appPrivacyColor;
/**
* 协议文本颜色
*/
@property (nonatomic, strong) UIColor *appPrivacyContentColor;
/**
* 协议前缀
*/
@property (nonatomic, copy) NSString *appPrivacyPrefix;
/**
* 协议后缀
*/
@property (nonatomic, copy) NSString *appPrivacySuffix;
/**
* 协议数组
*/
@property (nonatomic, strong) NSMutableArray<DGGAgreementListModel *> *appPrivacyArray;

@end
